arm: at91/spl: mpddrc: use IP version to check configuration
authorWenyou Yang <[email protected]>
Mon, 1 Feb 2016 10:12:17 +0000 (18:12 +0800)
committerAndreas Bießmann <[email protected]>
Tue, 2 Feb 2016 10:49:12 +0000 (11:49 +0100)
commit4245701ef58c9c7c1dbccc8fa2f1bdd248b97b8b
treed4a13dedee0f4a366e218b7b398c3c35210d8754
parentc2ad76c4bdfb8ffbe8946c0e6627b37a11effdf7
arm: at91/spl: mpddrc: use IP version to check configuration

To remove the unnecessary #ifdef-endif, use the mpddrc IP version
to check whether or not the interleaved decoding type is supported.

Signed-off-by: Wenyou Yang <[email protected]>
Reviewed-by: Andreas Bießmann <[email protected]>
arch/arm/mach-at91/mpddrc.c